package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-12
 */
@TableName("ry_erpkind")
public class Erpkind extends Model<Erpkind> {

    private static final long serialVersionUID = 1L;
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("account_id")
    private String accountId;
    @TableField("account_name")
    private String accountName;
    @TableField("account_desc")
    private String accountDesc;
    @TableField("account_prefix")
    private String accountPrefix;
    @TableField("account_suffix")
    private String accountSuffix;
    @TableField("if_main")
    private String ifMain;
    @TableField("data_source")
    private String dataSource;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountDesc() {
        return accountDesc;
    }

    public void setAccountDesc(String accountDesc) {
        this.accountDesc = accountDesc;
    }

    public String getAccountPrefix() {
        return accountPrefix;
    }

    public void setAccountPrefix(String accountPrefix) {
        this.accountPrefix = accountPrefix;
    }

    public String getAccountSuffix() {
        return accountSuffix;
    }

    public void setAccountSuffix(String accountSuffix) {
        this.accountSuffix = accountSuffix;
    }

    public String getIfMain() {
        return ifMain;
    }

    public void setIfMain(String ifMain) {
        this.ifMain = ifMain;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Erpkind{" +
        ", id=" + id +
        ", accountId=" + accountId +
        ", accountName=" + accountName +
        ", accountDesc=" + accountDesc +
        ", accountPrefix=" + accountPrefix +
        ", accountSuffix=" + accountSuffix +
        ", ifMain=" + ifMain +
        ", dataSource=" + dataSource +
        "}";
    }
}
